package Day02.entity;

import java.util.List;
import java.util.Map;
import java.util.Properties;

/**
 * Created by datou on 2017/3/22.
 */
public class User implements U {
    private String name;
    private Integer age;
    private List<String> list;
    private Map<String,String> map;

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public Map<String, String> getMap() {
        return map;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    public Properties getProperties() {
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    private Properties properties;
    public User(){

    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public User(String name, Integer age) {

        this.name = name;
        this.age = age;
    }
    @Override
    public void info() {
        System.out.println("aaaaaa");
    }
}
